package com.ruoyi.garbage.domain;


import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 搜索关键词+次数记录对象 keyword_search_num
 *
 * @author 刘哲贤
 * @date 2023-01-07
 */
public class KeywordSearchNum extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * $column.columnComment
     */
    @ExcelProperty(value = "${comment}")
    private String keyword;

    /**
     * $column.columnComment
     */
    @ExcelProperty(value = "${comment}")
    private Integer num;

    /**
     * $column.columnComment
     */
    @ExcelProperty(value = "${comment}")
    private Date times;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Date getTimes() {
        return times;
    }

    public void setTimes(Date times) {
        this.times = times;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("keyword", getKeyword())
                .append("num", getNum())
                .append("times", getTimes())
                .toString();
    }
}
